$('#footer').append('<table id="ttAvatars">');
$('#ttAvatars').append('<tr><th>Head Front</th><th>Head Back</th><th>Body Front</th><th>Body Back</th></tr>');

for( var i = 1; i < 501; i++ ) {
$('#ttAvatars').append(
    '<tr><td><img src="https://s3.amazonaws.com/static.turntable.fm/roommanager_assets/avatars/'+i+'/scaled/65/headfront.png" title="'+i+
    '"></td><td><img src="https://s3.amazonaws.com/static.turntable.fm/roommanager_assets/avatars/'+i+'/scaled/65/headback.png" title="'+i+
    '"></td><td><img src="https://s3.amazonaws.com/static.turntable.fm/roommanager_assets/avatars/'+i+'/scaled/65/bodyfront.png" title="'+i+
    '"></td><td><img src="https://s3.amazonaws.com/static.turntable.fm/roommanager_assets/avatars/'+i+'/scaled/65/bodyback.png" title="'+i+
    '"></td></tr>');
}

$('#footer').append('</table>');

